<?php

return [
    'ocr' => [
        'class' => 'app\component\tencentCloud\ocr\TencentCloudOcr',
        'secretId' => 'AKIDdCZhbIl04vY0C95mGVUHrGQO7h5RZR9e',  //子账号
        'secretKey' => 'JRQDvXzSr8HHIArMgpriQxJVaWKuHUWJ',
        'endpoint' => 'ocr.tencentcloudapi.com',
        'timeout' => 60,
    ],
    'sms' => [
        'class' => 'app\component\tencentCloud\sms\TencentCloudSms',
        'secretId' => 'AKIDvhHdk3FF5kDdtyqX2KOWS8aopzxhDWbR',  //主账号
        'secretKey' => 'ly0oOkuqY20lIaeV7UdXEhvGn7C3f4EA',
        'smsSdkAppId' => '1400831517',
        'signName' => 'lusheep',
        'endpoint' => 'sms.tencentcloudapi.com',
        'timeout' => 60,
    ],
    'mailer' => [
        'class' => \yii\symfonymailer\Mailer::class,
        'viewPath' => '@app/mail',
        // send all mails to a file by default.
        'useFileTransport' => true,
    ],
    'officialAccount' => [
        'class' => 'app\component\easyWechat\officialAccount',
        'appid' => 'wx49af009da31a9f3e',
        'miniAppid' => 'wx49af009da31a9f3e',
        'secret' => '2c114c15eb92d9beefe0088f414fe21c',
        'aesKey' => 'YEh0MacqseXDOc13tb6EehWEhZ5h0qSnKGGBmBJqJqv',
        'token' => 'lusheep821'
    ],
    'miniProgram' => [
        'class' => 'app\component\easyWechat\miniProgram',
        'appid' => 'wx49af009da31a9f3e',
        'miniAppid' => 'wx49af009da31a9f3e',
        'secret' => '2c114c15eb92d9beefe0088f414fe21c',
        'aesKey' => 'YEh0MacqseXDOc13tb6EehWEhZ5h0qSnKGGBmBJqJqv',
        'token' => 'lusheep821'
    ],
];